//
//  CRequestModel.h
//  wanzhaoIM
//
//  Created by liuyuantao on 15/5/29.
//  Copyright (c) 2015年 liuyuantao. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef  void (^REQUESTCOMPLETE)(NSError *error, id messageData);


@interface CRequestModel : NSObject

@property(nonatomic, strong) NSError *Error;//出错信息
@property(nonatomic, assign) int64_t requestID; //请求id
@property(nonatomic, strong) id Data; //用户保存信息
@property(nonatomic, assign) REQUESTCOMPLETE CompleteBlcok;//请求完成的回调函数


-(void)setCompleteBlcok:(REQUESTCOMPLETE)CompleteBlcok;

@end
